//
//  LogModel.m
//  BusinessMarket
//
//  Created by Michael Li on 2018/11/12.
//  Copyright © 2018年 Michael Li. All rights reserved.
//

#import "LogModel.h"
#import "LogInModel.h"
@implementation LogModel
-(instancetype)initWithDictionary:(NSDictionary *)dict
{
    if (self = [super init]) {
        XLog(@"dict:%@",dict);
        if (![dict isKindOfClass:[NSNull class]]) {
            [self setValuesForKeysWithDictionary:dict];
            
        }
//        NSDictionary *temp = [dict objectForKey:@"user"];
//        for (NSDictionary *dict in temp) {
//            LogInModel *logInModel = [LogInModel mj_objectWithKeyValues:dict];
////            [self.user addObject:logInModel];
//        }
    }
    return self;
}
+(instancetype)logModelWithDictionary:(NSDictionary*)dict
{
    return [[self alloc]initWithDictionary:dict];
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}
@end
